package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivity;
import com.ecoolex.ying.space.entity.EstateProjectActivityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityMapper {
    long countByExample(EstateProjectActivityExample example);

    int deleteByExample(EstateProjectActivityExample example);

    int deleteByPrimaryKey(Integer projectId);

    int insert(EstateProjectActivity record);

    int insertSelective(@Param("record") EstateProjectActivity record, @Param("selective") EstateProjectActivity.Column ... selective);

    EstateProjectActivity selectOneByExample(EstateProjectActivityExample example);

    List<EstateProjectActivity> selectByExample(EstateProjectActivityExample example);

    EstateProjectActivity selectByPrimaryKey(Integer projectId);

    EstateProjectActivity selectByPrimaryKeyWithLogicalDelete(@Param("projectId") Integer projectId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivity record, @Param("example") EstateProjectActivityExample example, @Param("selective") EstateProjectActivity.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivity record, @Param("example") EstateProjectActivityExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivity record, @Param("selective") EstateProjectActivity.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivity record);

    int batchInsert(@Param("list") List<EstateProjectActivity> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivity> list, @Param("selective") EstateProjectActivity.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityExample example);

    int logicalDeleteByPrimaryKey(Integer projectId);
}